package com.me.mapper;

import java.util.List;

import com.me.pojo.Enhance;
import com.me.pojo.Goods;
import com.me.pojo.PageEntity;

public interface GoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);
    
    List<Goods> selectByCol(Goods goods);

    Goods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);
    
    List<Enhance> selectEnhanceByCol(Enhance enhance);
    
    List<Enhance> consumeSelectEnhanceByCol(Enhance enhance);
    
    List<Enhance> selectEnhanceByOrderid(Integer orderId);
    
    List<Enhance> consumeSelectAllEnhance();
    
    List<Enhance> SelectAllEnhance();
    
    Integer listGoodsCount();
    
    List<Enhance> listCustDataRaw(PageEntity pageEntity);
}